#include <cstdio>

int main() {
	double sum = 0;
	for (int i = 1; i <= 12; ++i) {
		double d;
		scanf("%lf", &d);
		sum += d;
	}
	printf("$%.2lf\n", sum / 12);
	return 0;
}